package org.zxp.javacheck.jfrtest;

import java.util.ArrayList;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2020-01-06 11:53
 **/
public class JfrTest {
    public static void main(String[] args){
        ArrayList arr = new ArrayList();
            for (int i = 0;i < 500;i++){
                byte[] bytes = new byte[5*1024*1024];
                arr.add(bytes);
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
